 $(document).ready(function () {
 
        //Prepare jtable plugin
        $('#FournisseurTableContainer').jtable({
            title: 'Listes des Fournisseurs',
//            selecting: true,
            paging: true, //Enables paging
            pageSize: 10, //Actually this is not needed since default value is 10.
            sorting: true, //Enables sorting
            defaultSorting: 'Nom ASC', //Optional. Default sorting on first load.
            
            actions: {
            	listAction: '/AgenceVoyage/fournisseurs/getAllFournisseurs',
                updateAction: '/spring/fournisseurs/updateFournisseur',
                deleteAction: '/spring/fournisseurs/deleteFournisseur'
            },
            fields: {
                Id: {
                    key: true,
                    create: false,
                    edit: false,
                    list: false
                },
              RaisonSociale: {
                    title: 'Raison Sociale'
                },
                SiteWeb: {
                    title: '  SiteWeb',
                    width: '23%'
                },
                Pays: {
                    title: 'Pays',
                    width: '23%'
                },
                Ville: {
                    title: 'Ville',
                    width: '23%'
                },
               TelephoneFixe: {
                    title: 'TelephoneFixe',
                    width: '23%'
                },
                Fax: {
                    title: 'Fax',
                    width: '23%'
                },
               Contact: {
                    title: 'Contact',
                    width: '23%'
                },
                

            }
            
        });
 
        //Load student list from server
        $('#FournisseurTableContainer').jtable('load');
    });
 